package com.muchenx.util;


import com.muchenx.db.DatasourceHelper;

import java.sql.Connection;
import java.sql.SQLException;

public final class DBUtil {
    public static synchronized Connection getConnection() throws SQLException {
        return DatasourceHelper.getDatasource().getConnection();
    }
}
